package top.wettis.chat.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.wettis.chat.mapper.UserMapper;

@RestController
@CrossOrigin
@RequestMapping("/login")
public class LoginController {
    private final UserMapper userMapper;


    public LoginController(UserMapper userMapper) {
        this.userMapper = userMapper;
    }


}
